VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Processing Namespace / PdfDocumentCompressorCommand Class / Compress Methods / Compress(String,EventHandler<ProgressEventArgs>) Method
Syntax Requirements SeeAlso
In This Topic
    Compress(String,EventHandler<ProgressEventArgs>) Method (PdfDocumentCompressorCommand)
    In This Topic
    Compress the specified PDF document.
    Syntax
    'Declaration
    
    Public Overloads Sub Compress( _
    ByVal filename
    The filename of PDF document.
    As System.String, _
    ByVal progressHandler
    The progress handler.
    As System.EventHandler(Of ProgressEventArgs) _
    )

    Parameters

    filename
    The filename of PDF document.
    progressHandler
    The progress handler.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also